#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include"expense.h"
#include "account.h"
#include"budget.h"
#include"export.h"
#include"import.h"
#include"db_class.h"
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
   QListWidgetItem *item1;
   QListWidgetItem *item2;
   QListWidgetItem *item3;
   QListWidgetItem *item4;
   QListWidgetItem *item5;
   QListWidgetItem *item6;

   db_class db;

private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();

};

#endif // MAINWINDOW_H
